import request from '@/utils/request'

// 查询其他设施应急检查列表
export function listQitasheshiyingjijiancha(query) {
  return request({
    url: '/biz/qitasheshiyingjijiancha/list',
    method: 'get',
    params: query
  })
}

// 查询其他设施应急检查详细
export function getQitasheshiyingjijiancha(id) {
  return request({
    url: '/biz/qitasheshiyingjijiancha/' + id,
    method: 'get'
  })
}

// 新增其他设施应急检查
export function addQitasheshiyingjijiancha(data) {
  return request({
    url: '/biz/qitasheshiyingjijiancha',
    method: 'post',
    data: data
  })
}

// 修改其他设施应急检查
export function updateQitasheshiyingjijiancha(data) {
  return request({
    url: '/biz/qitasheshiyingjijiancha',
    method: 'put',
    data: data
  })
}

// 删除其他设施应急检查
export function delQitasheshiyingjijiancha(id) {
  return request({
    url: '/biz/qitasheshiyingjijiancha/' + id,
    method: 'delete'
  })
}

// 导出其他设施应急检查
export function exportQitasheshiyingjijiancha(query) {
  return request({
    url: '/biz/qitasheshiyingjijiancha/export',
    method: 'get',
    params: query
  })
}